package com.dobbinsoft.iotechn.device.constant;

/**
 * Description:
 * User: rize
 * Date: 2020/6/18
 * Time: 17:45
 */
public class DeviceConst {

    /**
     * 上行数据
     */
    public static final String TOPIC_UP = "/UP/";

    /**
     * 下行数据
     */
    public static final String TOPIC_DOWN = "/DOWN/";

    public static final String CA_CONTROLLER_COMPONENT = "CA_CONTROLLER:COMPONENT";

    public static final String CA_CONTROLLER_COMPONENT_ATTR = "CA_CONTROLLER:COMPONENT:ATTR_";

    /**
     * 设备Hash表，Key为设备AccessKeyId Value为DeviceDO
     */
    public static final String CA_DEVICE_HASH = "CA_DEVICE_HASH";

    /**
     * 设备数据点数据Hash + deviceId(Long), Key为数据点IdTag Value为DeviceSessionDataEntity对象
     */
    public static final String CA_DEVICE_DATA_HASH = "CA_DEVICE_DATA_HASH_";

}
